package site.wetsion.employ.server.pojo;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;

public class JobRemark implements Serializable, Comparable<JobRemark> {

	private static final long serialVersionUID = 1L;

	private BigInteger id;
	
	private BigInteger remark_job;
	
	private BigInteger remark_user_id;
	
	
	private String remark_detail;
	
	private BigInteger remark_agree;
	
	private Timestamp gmt_create;
	
	private Timestamp gmt_modified;

	private User remark_user;
	
	public BigInteger getId() {
		return id;
	}

	public void setId(BigInteger id) {
		this.id = id;
	}

	public BigInteger getRemark_job() {
		return remark_job;
	}

	public void setRemark_job(BigInteger remark_job) {
		this.remark_job = remark_job;
	}

	public BigInteger getRemark_user_id() {
		return remark_user_id;
	}

	public void setRemark_user_id(BigInteger remark_user_id) {
		this.remark_user_id = remark_user_id;
	}

	public User getRemark_user() {
		return remark_user;
	}

	public void setRemark_user(User remark_user) {
		this.remark_user = remark_user;
	}

	public String getRemark_detail() {
		return remark_detail;
	}

	public void setRemark_detail(String remark_detail) {
		this.remark_detail = remark_detail;
	}

	public BigInteger getRemark_agree() {
		return remark_agree;
	}

	public void setRemark_agree(BigInteger remark_agree) {
		this.remark_agree = remark_agree;
	}

	public Timestamp getGmt_create() {
		return gmt_create;
	}

	public void setGmt_create(Timestamp gmt_create) {
		this.gmt_create = gmt_create;
	}

	public Timestamp getGmt_modified() {
		return gmt_modified;
	}

	public void setGmt_modified(Timestamp gmt_modified) {
		this.gmt_modified = gmt_modified;
	}

	@Override
	public int compareTo(JobRemark o) {
		return remark_agree.compareTo(o.getRemark_agree());
	}

	@Override
	public String toString() {
		return "JobRemark [id=" + id + ", remark_job=" + remark_job + ", remark_user_id=" + remark_user_id
				+ ", remark_detail=" + remark_detail + ", remark_agree=" + remark_agree + ", gmt_create=" + gmt_create
				+ ", gmt_modified=" + gmt_modified + ", remark_user=" + remark_user + "]";
	}
	
	
	
}
